package com.nine.mymall.product.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: duonine
 * @date: 2021/12/4
 */
@ConfigurationProperties(prefix = "mymall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {

    private int corePoolSize;
    private int maximumPoolSize;
    private long keepAliveTime;

}
